<?php
/**
 * Created by PhpStorm.
 * User: fanzhaogui
 * Date: 2021/6/16
 * Time: 18:00
 */

namespace app\lib;


use think\swoole\template\Timer as SwooleTemTimer;

class Timer extends SwooleTemTimer
{

    public function _initialize(...$arg)
    {

    }

    public function initialize($args)
    {

    }


    public function run()
    {
        echo date("Y-m-d H:i:s") . PHP_EOL;
        // $i=0;
        // while($i<10){
        //     var_dump($i);
        //     $i++;
        //     sleep(1);
        // }
    }
}